package com.aaa.train.service;

import com.aaa.common.entity.LayUiTable;
import com.aaa.common.entity.ResultData;
import com.aaa.common.entity.TbTrainer;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 培训班老师 服务类
 * </p>
 *
 * @author wang
 * @since 2020-07-29
 */
public interface TbTrainerService extends IService<TbTrainer> {

    LayUiTable selectTrainerAll(Integer page, Integer limit, String tbTrainerName);

    ResultData updateTrain(TbTrainer tbTrainer);

    ResultData insertTrain(TbTrainer tbTrainer);

    LayUiTable selectTrainById(TbTrainer tbTrainer);

    ResultData selectName(TbTrainer tbTrainer);

    ResultData delete(TbTrainer tbTrainer);

}
